package facade;

/**
 * @Author liangliangzhao
 * @data 2023/4/14 11:23
 */

public class Popcorn {

    private static Popcorn instance = new Popcorn();

    public static Popcorn getInstance(){
        return instance;
    }

    public void on(){
        System.out.println(" Popcorn on ");
    }

    public void off(){
        System.out.println(" Popcorn off ");
    }
    public void pop(){
        System.out.println(" Popcorn is poping ");
    }
}
